package com.cn.demo.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Design implements Serializable {
    /**
     * 课程设计ID
     */
    private String designId;

    /**
     * 设计ID
     */
    private String curriculumDesignId;

    /**
     * 课程设计题目
     */
    private String subject;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 组员
     */
    private List<DesignTeam> designTeamList;

    public List<DesignTeam> getDesignTeamList() {
        return designTeamList;
    }

    public void setDesignTeamList(List<DesignTeam> designTeamList) {
        this.designTeamList = designTeamList;
    }

    private static final long serialVersionUID = 1L;

    public String getDesignId() {
        return designId;
    }

    public void setDesignId(String designId) {
        this.designId = designId == null ? null : designId.trim();
    }

    public String getCurriculumDesignId() {
        return curriculumDesignId;
    }

    public void setCurriculumDesignId(String curriculumDesignId) {
        this.curriculumDesignId = curriculumDesignId == null ? null : curriculumDesignId.trim();
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject == null ? null : subject.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    @Override
    public String toString() {
        return "Design{" +
                "designId='" + designId + '\'' +
                ", curriculumDesignId='" + curriculumDesignId + '\'' +
                ", subject='" + subject + '\'' +
                ", remarks='" + remarks + '\'' +
                ", designTeamList=" + designTeamList +
                '}';
    }
}